//
    /*******************************************************************************
            
     File name:     MBProgressHUD+WQTips.h
     Author:        Ferryman (cwq)
     Project name:  DemoKnowledge
     Description: 注意线程安全
        
     History:
    
     2020/8/13: File created.
        
        
     Copyright:    Copyright © 2020 cwq. All rights reserved.
            
    ********************************************************************************/
    

#import <MBProgressHUD/MBProgressHUD.h>

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (WQTips)

/** MBProgressHUD修改后的样式 添加到self.navigationController.view上，导航栏不能被点击 */
+ (MBProgressHUD *)wq_showMBProgressHUDWithModifyStyleMessage:(NSString *)message toView:(UIView *)view;
/** MBProgressHUD系统自带样式 添加到self.navigationController.view上，导航栏不能被点击 */
+ (MBProgressHUD *)wq_showMBProgressHUDWithSystemComesStyleMessage:(NSString *)message toView:(UIView *)view;
/** 10s之后隐藏 */
+ (MBProgressHUD *)wq_showMBProgressHUD10sHideWithModifyStyleMessage:(NSString *)message toView:(UIView *)view;

/** 显示加载成功的 MBProgressHUD */
+ (void)wq_showMBProgressHUDOfSuccessMessage:(NSString *)message toView:(UIView *)view;

/** 显示加载失败的 MBProgressHUD */
+ (void)wq_showMBProgressHUDOfErrorMessage:(NSString *)message toView:(UIView *)view;

/** 隐藏MBProgressHUD 要与添加的view保持一致 */
+ (void)wq_hideHUDForView:(UIView *)view;

/** 只显示文字的 15 号字体（文字最好不要超过 14 个汉字） MBProgressHUD */
+ (void)wq_showMBProgressHUDWithOnlyMessage:(NSString *)message delayTime:(CGFloat)time;

/** MBProgressHUD loding */
+ (MBProgressHUD *)wq_showMBProgressHUDLodingtoView:(UIView *)view;


@end

NS_ASSUME_NONNULL_END
